https://pages.cs.wisc.edu/~remzi/OSTEP/cpu-mechanisms.pdf

Direct Execution

Kernel and User mode

Example broken system:

Traps

System Call vs. Library Function

Interrupts

Switching Between Processes

What are we missing?